"""
@author: xxw
@file: 取出字典中的整数.py
@time: 2023/5/5 10:17
"""
sum = 0
d1 = {"a": 1, "b": "yy", "c": 3}
for _, v in d1.items():
    if isinstance(v,int):
        sum += v
print(sum)